//package com.huc.rabbit.mq.consumer;
//
//import com.huc.rabbit.mq.config.RabbitTopicMQConfig;
//import org.springframework.amqp.rabbit.annotation.RabbitHandler;
//import org.springframework.amqp.rabbit.annotation.RabbitListener;
//import org.springframework.stereotype.Component;
//
//@Component
//@RabbitListener(queues = {RabbitTopicMQConfig.QUEUE_NAME_A})
//public class TopicMessageConsumerA {
//
//    @RabbitHandler
//    public void consumer(String msg) {
//        System.out.println("consumer A 消费消息成功：" + msg);
//    }
//
//}
